package cn.itsource.order.service.impl;


import cn.itsource.basic.query.BaseQuery;
import cn.itsource.basic.service.impl.BaseServiceImpl;
import cn.itsource.order.domain.OrderAddress;
import cn.itsource.order.domain.UserAddress;
import cn.itsource.order.mapper.UserAddressMapper;
import cn.itsource.order.service.IOrderAddressService;
import cn.itsource.order.service.IUserAddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


@Service
@Transactional
public class UserAddressServiceImpl extends BaseServiceImpl<UserAddress, BaseQuery> implements IUserAddressService {

    @Autowired
    private UserAddressMapper userAddressMapper;

    @Override
    public List<UserAddress> findUserAddresses() {
        return userAddressMapper.findUserAddresses();
    }
}
